package com.hz.qs.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
public class TaskService {
    @Autowired
    private CoreService coreService;


    @Scheduled(cron = "0 */1 7-10 * * ?")
    public void taskQueue(){
//        CustomerRequest customerRequest = new CustomerRequest();
//        customerRequest.setCurrentDate(LocalDate.now());
//        coreService.optQueuesData2(customerRequest);
    }

}
